import { all } from 'redux-saga/effects'
import counterSaga from './counter.saga'
import modalSaga from './modal.saga'

export default function* rootSaga() {
	// 调用all 方法合并saga,在里面调用
	yield all([counterSaga(), modalSaga()])
}
